local LoginScene = class("LoginScene", function()
  return cc.Scene:create()
end)
function LoginScene:ctor()
  self.m_mainLayer = nil
end
function LoginScene:create()
  local scene = LoginScene.new()
  scene:initScene()
  scene:registerScriptHandler(handler(scene, scene.onNodeEvent))
  return scene
end
function LoginScene:initScene()
  dal.ConnectMgr:closeConnect()
  self.m_mainLayer = require("src/scene/login/MainLayer"):create()
  self:addChild(self.m_mainLayer)
end
function LoginScene:onNodeEvent(eventype)
  if eventype == "enter" then
    SpriteFrameMgr:getInstance():cleanupPurgeCachedResource()
  elseif eventype == "enterTransitionFinish" then
    local isautologin = dal.Account:autoLogin()
  elseif isautologin or eventype == "exit" then
  end
end
function LoginScene:getNoticeData(dt)
end
return LoginScene
